import $AppConfig from '../dev/app_config.js'

Vue.use($AppConfig, {})

var vm = new Vue({
    el: '#index',
    data: {
        list: []
    },
    methods: {},
    mounted: function() {
        vant.Toast.loading({
            message: '加载中...',
            forbidClick: true,
        });
        this.$http.get(Vue.$AppConfig.INTERFACE_HOST + '/getLine.php')
            .then(response => {
                let body = response.body
                console.log(body)
            })
            .catch(e => {
                // 请求失败

            })
    }
})